package com.jy.rhin.model.body.zhongxingjsbdj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class JianKangShi {
    //重性精神疾病患者首次发病年龄（岁）
    @XPath(path = "/entry/observation/code[@code='DE02.10.089.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_089_00))
    String shouCiFBNL;
    //精神症状代码
    @XPath(path = "/entry/observation/code[@code='DE04.01.030.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_030_00))
    CodeObject jingShenZZ;
    //既往治疗情况
    @XPath(path = "/entry/observation/code[@code='DE02.10.036.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_036_00, nullable = true))
    CodeObject jiWangZLQK;
    //首次抗精神病治疗日期
    @XPath(path = "/entry/observation/code[@code='DE02.10.160.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_160_00, nullable = true))
    String shouCiKJSBZLRQ;
    //既往精神专科住院次数
    @XPath(path = "/entry/observation/code[@code='DE02.10.090.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_090_00, nullable = true))
    String jiWangJSZKZYCS;
    //既往治疗效果
    @XPath(path = "/entry/observation/code[@code='DE02.10.037.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_037_00, nullable = true))
    CodeObject jiWangZLXG;
}
